/*Timeline class
 * @author Charles Schuh
 * 
 * Represents a hashmap of spikes with whose key is the time
 * in milliseconds times ten of each spike
 */
package neuronvisualizer;
import java.util.HashMap;
import java.io.*;
public class Timeline {
	private HashMap<Long,Integer> spikes;
	
	//Constructs new timeline from input text file in directory dir
	public Timeline(String dir){
		try{
			spikes = SpikeParser.parse(dir);
		}
		catch (IOException e){
			System.out.println(e.toString());
		}
	}
}
